package com.bm.server.controller;

import com.bm.common.vo.R;

import com.bm.server.service.intf.SmsLogService;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

@RestController
@RequestMapping("/server/smsLog")
public class SmsLogController {
    @Resource
    private SmsLogService service;
    @PostMapping("/sendcode.do")
    public R sendCode(@RequestParam String phone){
        return service.sendLoginSms(phone);
    }
}
